inspector: Actually destroy the property editors
authorMatthias Clasen <mclasen@redhat.com>
Thu, 5 Jun 2014 09:56:47 +0000 (05:56 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 5 Jun 2014 09:57:50 +0000 (05:57 -0400)
We were never finalizing any of the popovers used for editing
properties. Fix that.

gtk/inspector/prop-list.c

index 9d3b8d8b148a984d531d8c4642d5567415dd4c7f..4a1c0341b971e1984d79aa22aedba103817d7a1e 100644 (file)
@@ -180,6 +180,8 @@ row_activated (GtkTreeView *tv,
 
   gtk_widget_show (popover);
 
+  g_signal_connect (popover, "hide", G_CALLBACK (gtk_widget_destroy), NULL);
+
   g_free (name);
 }